#pragma once

#include <QWidget>

class DetailData;
class DetailQuoteTable;
class BrokerBestPrice;
class BondDetailBroker : public QWidget
{
public:
    BondDetailBroker(QWidget* p=nullptr);
    void setDetailData(QSharedPointer<DetailData>);
	bool setBrokerTab(int nBrokerId);

protected slots:
	void onBondChanged();

private:
	QSharedPointer<DetailData> m_data = nullptr;
	DetailQuoteTable* m_table = nullptr;
	BrokerBestPrice* m_brokerTab = nullptr;
};
